package com.wyy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyy.pojo.Articles;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: gytcb
 * @author: 吴磊
 * @create: 2021-06-08 11:45
 */
@Repository
public interface ArticleMapper extends BaseMapper<Articles> {
    /**
     * 根据文章Id删除文章
     *
     * @param articleId
     * @return
     */
    Integer deleteArticleById(@Param("articleId") String articleId);

}
